Packetery\Module\Plugin A

Total Complexity 59
Dependencies 48
Dependents 8
Total lines 827
Lines of code 367
Logical lines of code 178
Comment lines 143
Methods 26
Properties 26

Methods 26

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
A
49 12 26
run()
S
40 2 65
renderEmailFooter()
S
48 4 32
renderOrderDetail()
S
51 4 27
uninstall()
S
56 4 17
renderDeliveryDetail()
S
49 2 31
hideSubmenuItem()
S
63 4 10
echoInactiveWooCommerceNotice()
S
61 2 14
renderConfirmModalTemplate()
S
60 2 14
__construct()
S
50 1 28
enqueueFrontAssets()
S
66 2 8
shouldDisplayPickupPointInfo()
S
79 2 3
addPluginRowMeta()
S
64 2 9
loadTranslation()
S
63 2 10
transformGetOrdersQuery()
S
70 2 6
getLocale()
S
69 2 7
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
buildAssetUrl()
S
70 1 5
init()
S
65 1 10
add_menu_pages()
S
70 1 7
enqueueStyle()
S
67 1 8
enqueueScript()
S
66 1 9
createLinkParts()
S
74 1 4
isWooCommercePluginActive()
S
80 1 3
getAppIdentity()
S
77 1 3